package entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品规格表sku
 * </p>
 *
 * @author hjj
 * @since 2023-02-28
 */
@Getter
@Setter
@TableName("tb_sku")
@ApiModel(value = "Sku对象", description = "商品规格表sku")
public class Sku implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("规格id")
      @TableId(value = "sku_id", type = IdType.AUTO)
    private Integer skuId;

    @ApiModelProperty("商品id")
    @TableField("sku_goods_id")
    private Integer skuGoodsId;

    @ApiModelProperty("规格详情")
    @TableField("sku_msg")
    private String skuMsg;

    @ApiModelProperty("规格库存")
    @TableField("sku_stock")
    private Integer skuStock;

    @ApiModelProperty("规格售卖数量")
    @TableField("sku_sell")
    private Integer skuSell;

    @ApiModelProperty("商品价格")
    @TableField("sku_price")
    private Integer skuPrice;

    @ApiModelProperty("市场价")
    @TableField("sku_market_value")
    private Integer skuMarketValue;

    @ApiModelProperty("价格区间")
    @TableField("sku_price_range")
    private String skuPriceRange;

    @ApiModelProperty("条形码")
    @TableField("sku_bar_code")
    private String skuBarCode;

    @ApiModelProperty("规格链接")
    @TableField("sku_interlinkage")
    private String skuInterlinkage;

    @ApiModelProperty("规格图片")
    @TableField("sku_imag")
    private String skuImag;

    @ApiModelProperty("规格上架")
    @TableField("sku_status")
    private String skuStatus;

    @ApiModelProperty("规格视频")
    @TableField("sku_vido")
    private String skuVido;

    @ApiModelProperty("商品系列")
    @TableField("sku_succession")
    private String skuSuccession;

    @ApiModelProperty("上市年份")
    @TableField("sku_year")
    private String skuYear;

    @ApiModelProperty("使用者")
    @TableField("sku_user")
    private String skuUser;


}
